{# src/Pyaf/GymBundle/Resources/views/AdminGrupoMuscular/new.html.twig #}

{% block body %}           
                <div class="">                   
                     
                    <form action="{{ path('admin_grupomuscular_new') }}" method="post" class='form-horizontal form-bordered form-validate'>                     
                        {{ form_errors(formulario) }}
                        <div class="control-group">
                            <label for="textfield" class="control-label" style="text-align: center;">Nombre</label>
                            <div class="controls">
                                {{ form_widget(formulario.nombre) }} 
                                {{ form_errors(formulario.nombre) }} 
                            </div>
                        </div>
                        <div class="control-group">
                            <label for="policy" class="control-label" style="text-align: center;">Descripción</label>
                            <div class="controls">
                                {{ form_widget(formulario.descripcion) }}    
                                {{ form_errors(formulario.descripcion) }} 
                            </div>
                        </div>    
                        <div class="control-group">
                            <label for="policy" class="control-label" style="text-align: center;">Habilitación</label>
                            <div class="controls">
                                <label class="checkbox">
                                    {{ form_widget(formulario.habilitado) }}    
                                    {{ form_errors(formulario.habilitado) }} 
                                </label>    
                            </div>
                        </div>
                        {{ form_rest(formulario) }}
                        <div class="form-actions">
                                <input type="submit" class="button button-basic-blue" value="Aceptar">
                                <a class="button button-basic" href="{{ path('admin_grupomuscular_list') }}">Cancelar</a>
                        </div>
                    </form>
                </div>  

{% endblock %}